package day05;

/**
 * 测试学生类
 */
public class Test02 {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.stuId = "20220404001";
        s1.score = 99;
        s1.name = "张三";
        s1.age = 19;
        s1.sex = false;
        s1.id = "142809200012120015";
        System.out.println(s1);
        s1.study();
        s1.exam();
        s1.eat();
        s1.sleep();
        Student s2 = new Student("20220404002",88);
        s2.exam();
        s2.study();
        s2.name = "李四";
        s2.eat();
    }
}
